package com.bjsxt.chapter2_factory.abstractFactory;

/**
 * @ClassName Seat
 * @Description 座椅
 * @Author 黑马程序员
 * @Date 17:42 2024/6/20
 * @Version 1.0
 **/
public interface Seat {
    void massage();
}

class LuxurySeat implements Seat {

    @Override
    public void massage() {
        System.out.println("可以自动按摩!");
    }
}

class LowSeat implements Seat {

    @Override
    public void massage() {
        System.out.println("不能按摩!");
    }
}
